def print_gobang_board(size):
    for i in range(size + 1):
        print("+---" * size + "+")
        if i < size:
            print("|   " * size + "|")

print_gobang_board(10)